package com.ty.mianshiya.mapper;

import com.ty.mianshiya.model.entity.Question;
import com.ty.mianshiya.model.entity.QuestionBankQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;


/**
 * @author WangJiyou
 * @description 针对表【question_bank_question(题库题目)】的数据库操作Mapper
 * @createDate 2024-09-09 22:35:58
 * @Entity com.ty.mianshiya.model.entity.QuestionBankQuestion
 */
public interface QuestionBankQuestionMapper extends BaseMapper<QuestionBankQuestion> {

    /**
     * 根据题库id查询题目
     */
    public List<Question> getQuestionsByBankId(Long questionBankId, long current, long pageSize);

}




